<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Indexed Format</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Video for Linux Two API Specification"
HREF="book1.htm"><LINK
REL="UP"
TITLE="Image Formats"
HREF="c2030.htm"><LINK
REL="PREVIOUS"
TITLE="Colorspaces"
HREF="x2123.htm"><LINK
REL="NEXT"
TITLE="RGB Formats"
HREF="x2490.htm"></HEAD
><BODY
CLASS="SECTION"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Video for Linux Two API Specification: Revision 0.24</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x2123.htm"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 2. Image Formats</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x2490.htm"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECTION"
><H1
CLASS="SECTION"
><A
NAME="PIXFMT-INDEXED"
>2.3. Indexed Format</A
></H1
><P
>In this format each pixel is represented by an 8 bit index
into a 256 entry ARGB palette. It is intended for <A
HREF="x6909.htm"
>Video Output Overlays</A
> only. There are no ioctls to
access the palette, this must be done with ioctls of the Linux framebuffer API.</P
><DIV
CLASS="TABLE"
><A
NAME="AEN2432"
></A
><P
><B
>Table 2-3. Indexed Image Format</B
></P
><TABLE
BORDER="0"
FRAME="void"
CLASS="CALSTABLE"
><COL
WIDTH="1*"
ALIGN="LEFT"
TITLE="ID"><COL
WIDTH="1*"
TITLE="FOURCC"><COL
WIDTH="1*"
TITLE="BIT"><COL
WIDTH="1*"
ALIGN="CENTER"
TITLE="B07"><COL
WIDTH="1*"
ALIGN="CENTER"
TITLE="B06"><COL
WIDTH="1*"
ALIGN="CENTER"
TITLE="B05"><COL
WIDTH="1*"
ALIGN="CENTER"
TITLE="B04"><COL
WIDTH="1*"
ALIGN="CENTER"
TITLE="B03"><COL
WIDTH="1*"
ALIGN="CENTER"
TITLE="B02"><COL
WIDTH="1*"
ALIGN="CENTER"
TITLE="B01"><COL
WIDTH="1*"
ALIGN="CENTER"
TITLE="B00"><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><THEAD
><TR
><TH
>Identifier</TH
><TH
>Code</TH
><TH
>&nbsp;</TH
><TH
COLSPAN="8"
>Byte&nbsp;0</TH
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><TH
>&nbsp;</TH
><TH
>&nbsp;</TH
><TH
>Bit</TH
><TH
>7</TH
><TH
>6</TH
><TH
>5</TH
><TH
>4</TH
><TH
>3</TH
><TH
>2</TH
><TH
>1</TH
><TH
>0</TH
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
></THEAD
><TBODY
VALIGN="TOP"
><TR
><A
NAME="V4L2-PIX-FMT-PAL8"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_PAL8</CODE
></TD
><TD
>'PAL8'</TD
><TD
>&nbsp;</TD
><TD
>i<SUB
>7</SUB
></TD
><TD
>i<SUB
>6</SUB
></TD
><TD
>i<SUB
>5</SUB
></TD
><TD
>i<SUB
>4</SUB
></TD
><TD
>i<SUB
>3</SUB
></TD
><TD
>i<SUB
>2</SUB
></TD
><TD
>i<SUB
>1</SUB
></TD
><TD
>i<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x2123.htm"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.htm"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x2490.htm"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Colorspaces</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="c2030.htm"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>RGB Formats</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
